package com.eurasia.assignment.infrastructure.hoj;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface HOJAuthTokenRepository extends JpaRepository<HOJAuthTokenEntity, Long> {

    Optional<HOJAuthTokenEntity> findFirstBySuccessTrueOrderByCreateTimeDesc();
}
